package br.com.agileplus.linkedcompany.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "LC_CURSO")
public class Curso extends ModeloBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = -89453582897111975L;

	@Column(name="nome_instituicao")
	private String nomeInstituicao;
	
	@Column(name="nome_curso")
	private String nomeCurso;
	
	@Temporal(TemporalType.DATE)
	@Column(name = "data_inicio")
	private Date data_inicio;
	
	@Temporal(TemporalType.DATE)
	@Column(name = "data_saida")
	private Date data_saida;
	
	@ManyToOne
	@JoinColumn(name="id_area_atuacao")
	private AreaAtuacao area_atuacao;
	
	@ManyToOne
	@JoinColumn(name="id_usuario")
	private Usuario usuario;
	
}
